<?php

//------------------------------------------------------------------------------
//------------------------------------------------------------------------------

// #################################################################### ||
// #                                                                  # ||
// #   vBulletin 3.x.x to MySmartBB 1.1.2 script                      # ||
// #   http://www.MySmartBB.com                                       # ||
// #   Copyright (c) 2005 by MySmartBB team 			              # ||
// #                                                                  # ||
// #   filename : common.php                                          # ||
// #   the core of script                                             # ||
// #                                                                  # ||
// #################################################################### ||

//------------------------------------------------------------------------------
//------------------------------------------------------------------------------

## Include important files
include("../../includes/SmartSQL.php");
include("../../includes/config.php");
include("includes/function.php");
include("includes/class.php");
include("../style.css");

## Create objects
$DB    = new SmartSQL;
$SF    = new SmartFunction;
$SC	   = new VB2MySBB;

## Connect with database
$DB->setinfo($db_server,$db_username,$db_password,$db_name);
$DB->sql_connect();
$DB->sql_selectdb();

## Page headers
$SF->do_headers();

?>